package com.xc.quickstart.api.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "分页基类")
public abstract class BasePageQuery {

    @ApiModelProperty("起始页（从1开始）")
    protected Integer pageIndex = 1;

    @ApiModelProperty("每页大小")
    protected Integer pageSize = 10;
}
